package com.itheima.demo01;

public class Person {
    private String name;
    private int age;

    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void work(){
        System.out.println("好好加油干！");
    }

    public void play(String name){
        System.out.println(name + "一天就知道玩！");
    }
}
